package com.peas.platform.common.core.enums;

public enum CommonPeriodEnum implements BaseEnum {

	nanosecondly("nanosecondly", "每纳秒"),
	microsecondly("microsecondly", "每微秒"),
	millisecondly("millisecondly", "每毫秒"),
	secondly("secondly", "每秒"),
	minutely("minutely", "每分钟"),
	hourly("hourly", "每小时"),
	daily("daily", "每天"),
	weekly("weekly", "每周"),
	monthly("monthly", "每月"),
	quarterly("quarterly", "每季度"),
	yearly("yearly", "每年"),
	;

	private final String key;
	private final String value;

	CommonPeriodEnum(String key, String value) {
		this.key = key;
		this.value = value;
	}

	@Override
	public String getKey() {
		return key;
	}

	@Override
	public String getValue() {
		return value;
	}

}
